def rectangle(height, width):
    """
        打印直角三角形
    :param height:
    :param width:
    :return:
    """
    for h in range(height):
        for w in range(width):
            print('*', end='')
        print()


rectangle(5, 3)
 